package com.chalk.model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author glq
 * @since 2020-12-10
 */

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_venue_and_se")
@ApiModel(value="VenueAndSe对象", description="")
public class VenueAndSe implements Serializable {

    private static final long serialVersionUID=1L;

    public VenueAndSe() {
    }

    public VenueAndSe(Integer seId, Integer venueId) {
        this.seId = seId;
        this.venueId = venueId;
    }

    @ApiModelProperty(value = "运动项目id")
    @JsonProperty("seId")
    private Integer seId;

    @ApiModelProperty(value = "场馆id")
    @JsonProperty("venueId")
    private Integer venueId;

    @ApiModelProperty(value = "关联表自增id")
    @TableId(value = "id", type = IdType.AUTO)
    @JsonProperty("id")
    private Integer id;


}
